home *** CD-ROM | disk | FTP | other *** search
- Aff
-
- Aff, which stands for Automatic File Forwarding, is a Citadel-86
- utility designed to simplify the job of automatically forwarding
- files from one system to another with only some initial sysop
- assistance.
-
- The basic idea is there are certain files, updated from time to time,
- which should be sent to some set of systems after each update.
- (If this doesn't seem likely to you, then you probably have little
- use for this utility.) By using the Aff utility in combination
- with the Citadel #event to bring your system down periodically
- to run Aff, you can automate the process of sending said files to
- other systems when they are updated.
-
- Enough of the arm-waving. In order for this to work, you have to
- tell Aff what you want sent, and where. You do this via a file you
- construct named CTDLAFF.SYS, which will be located in your #NETAREA
- directory. The structure of this file is:
-
- <filename>
- <system name> : 0
- ...
- <system name> : 0
- <blank line>
- <filename>
- <system name> : 0
- ...
- <system name> : 0
- <blank line>
-
- The first line is the name of the file which will need to be sent
- each time it's updated. There is one trick to this "filename" -- while
- you create the file in #NETAREA, you run the Aff utility from the same
- place you run Ctdl, and therefore Aff will look at the filename from
- the perspective of the normal Citadel directory, not #NETAREA. So, if
- you use "relative" file names (like "/door/hello.zip", etc), you'll have
- to be careful. If you want to be smart, just use absolute file paths
- (like "DH0:PRODUCT/STUFF.LHA").
-
- All of the following lines up to the first blank line are the names
- of systems the file should be sent to. Notice the format -- it's
- "<system name> : 0". The reason for the ": 0" is that Citadel-86 will
- actually use CtdlAff.Sys to remember the last time it sent the file on
- to each system. As the days pass, the "0" you should write in there
- will change to other numbers. They represent the date stamp of the
- file last time you checked and sent it. Don't mess with those numbers
- unless you know what you're doing (it's usually not necessary, anyways).
-
- You can update CtdlAff.Sys anytime you like, deleting systems,
- adding systems, adding whole new file forwarding specs. However, the
- Aff utility itself cannot be run from within Citadel; the system must
- be down. For that reason, and if you don't already, you may
- want to consider putting together a #event of type external which will
- cause Aff to be run on an appropriate basis. See INSTALL3.MAN for more
- information.
-
- If you make a copy of the CTDLTABL.SYS file before you run CTDL, you
- can run AFF using that copy of the CTDLTABL.SYS file. This seems to work
- with no problems. It could however be a problem if you change your node
- lists so this is not the normal recommended method of running AFF.